
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>编辑信息</title>
    <style>
        body {
            font-family: Arial, Helvetica, sans-serif;
            padding: 20px;
        }
        td {
            padding: 10px;
        }
        table {
            width: 60%;
            margin: 0 auto;
            border-collapse: collapse;
            text-align: left;
        }
        table, th, td {
            border: 1px solid #ddd;
        }
        input[type="submit"] {
            background-color: #4CAF50;
            color: white;
            padding: 12px 20px;
            margin: 8px 0;
            border: none;
            cursor: pointer;
        }
    </style>
</head>

<body>

<form method="post" action="toEdit">
    <table>
        <input type="hidden" name="id" value="${sysUser.user_id}"/>

        <tr>
            <td>部门ID：
                <input type="text" name="dept_id" value="${sysUser.dept_id}"></td>
        </tr>

        <tr>
            <td>用户昵称：
                <input type="text" name="user_name" value="${sysUser.user_name}"></td>
        </tr>
        <tr>
            <td>用户邮箱：
                <input type="text" name="email" value="${sysUser.email}"></td>
        </tr>

        <tr>
            <td>手机号码：
                <input type="text" name="phonenumber" value="${sysUser.phonenumber}">
            </td>
        </tr>


        <tr>
            <td>用户性别：
                <input type="radio" name="sex" value="0" ${sysUser.sex==1?"checked":""} />男
                <input type="radio" name="sex" value="1"  ${sysUser.sex==0?"checked":""}/>女
            </td>
        </tr>

        <td>密码：
            <input type="text" name="password" value="${sysUser.password}">
        </td>
        </tr>


        <tr>
            <td>最后登录IP：
                <input type="text" name="login_ip" value="${sysUser.login_ip}">
            </td>
        </tr>

        <tr>
            <td>操作：
                <input type="submit" value="修改">
            </td>
        </tr>
    </table>

</form>

</body>
</html>
